﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EMRView.Extensions.Command.StandardCommand.Insert
{
    public class DeEditSetting : AddSetting
    {
        private int eWidth = 0;
        private bool isTopBorder = false;
        private bool isBottomBorder = false;
        private bool isLeftBorder = false;

        private bool isRightBorder = false;

        private bool printOnlyText = false;

        public DeEditSetting()
        {

        }

        /// <summary>
        /// 输入域宽度
        /// </summary>
        public int EWidth
        {
            get
            {
                return eWidth;
            }
            set
            {
                eWidth = value;
            }
        }

        /// <summary>
        /// 是否显示顶部边框
        /// </summary>
        public bool IsTopBorder
        {
            get
            {
                return isTopBorder;
            }
            set
            {
                isTopBorder = value;
            }
        }

        /// <summary>
        /// 是否显示底部边框
        /// </summary>
        public bool IsBottomBorder
        {
            get
            {
                return isBottomBorder;
            }
            set
            {
                isBottomBorder = value;
            }
        }

        /// <summary>
        /// 是否显示左边框
        /// </summary>
        public bool IsLeftBorder
        {
            get
            {
                return isLeftBorder;
            }
            set
            {
                isLeftBorder = value;
            }
        }
        /// <summary>
        /// 是否显示右边框
        /// </summary>
        public bool IsRightBorder
        {
            get
            {
                return isRightBorder;
            }
            set
            {
                isRightBorder = value;
            }
        }
        /// <summary>
        /// 当设置为True时，打印不会打印元素边框，当设置为false时，打印文字与元素边框
        /// </summary>
        public bool PrintOnlyText
        {
            get
            {
                return printOnlyText;
            }
            set
            {
                printOnlyText = value;
            }
        }
    }
}
